package com.cheyun.netsalev3.view

import android.content.Intent
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.cheyun.netsalev3.utils.api.GlobalConfig
import com.cheyun.netsalev3.view.allocated.AllocatedActivity

class SchemeActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        val data = intent.data
        Log.i("TAG", "host = ${data.host} path = ${data.path} query = ${data.query}")
        val param = data.getQueryParameter("goodsId")
        Log.i("TAG", "param: $param")

        GlobalConfig._schemeTo = true

        var intent = Intent(this, WelComeActivity::class.java)
        startActivity(intent)

        finish()

    }
}